﻿using System;
using System.Collections.Generic;
using System.Linq;
using Array2DExtensions;

namespace MyClasses
{
    class Program
    {
        static void Main(string[] args)
        {
            //Array Example
            Int32[,] array = new Int32[,] { {2,3,3},{4,8,4},{1,1,17}};

            Index a = new Index(4, 4);
            Index b = new Index(4, 3);
            Console.WriteLine("{0} == {1} ? {2}",a,b,a==b);

            Cell<Int32> cellA = new Cell<Int32>(5, a);
            Cell<Int32> cellB = new Cell<Int32>(5,b);
            Console.WriteLine("{0} == {1} ? {2}", cellA, cellB, cellA.Equals(cellB));
        }
    }

}